package com.cassio.guarapari.dao;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public abstract class DAOFactory {
	private static EntityManagerFactory factory = Persistence.createEntityManagerFactory("googleSQL");
	
	public static EntityManager getEntityManager(){
		return factory.createEntityManager();
	}
	
}
